import axios from "../../utils/axios";

// 获取第三方服务列表
export function getinfo(query) {
    return axios({
        url: "/admin/third/getinfo",
        method: "get",
        params: query
    });
}
// 添加
export function addinfo(query) {
    return axios({
        url: "/admin/third/addinfo",
        method: "post",
        data: query
    });
}
// 删除
export function delinfo(query) {
    return axios({
        url: "/admin/third/delinfo",
        method: "get",
        params: query
    });
}
// 修改
export function editinfo(query) {
    return axios({
        url: "/admin/third/editinfo",
        method: "post",
        data: query
    });
}
